import { httpDelete, httpGet, httpPost } from "../utils/request.js";

export const getRelationApi = (data) => httpPost('/relations/search',data);
export const addRelationApi = (data) => httpPost('/relations/addFamily',data);
export const deleteRelationApi = (data) => httpDelete('/relations/removeFamily',data);
export const getResidentsDetailApi = (data) => httpGet('/residents/detail',data);